package com.csht.model;

/**
 * 交易中的商品
 * @author Administrator
 *
 */
public class CshtTrading {
	
	/**
	 * id
	 */
    private Integer tradingId;

    /**
     * 商品表里的商品id，原id（用来查找商品图片，重新上架商品时需要对商品图片表的goods_id进行修改）
     */
    private Integer goodsId;
    
    /**
     * 一级菜单id
     */
    private Integer oneMenuId;
    
    /**
     * 二级菜单id
     */
    private Integer twoMenuId;
    
    /**
     * 三级菜单id
     */
    private Integer threeMenuId;
    
    /**
     * 品牌id
     */
    private Integer brandId;

    /**
     * 交易中的商品标题
     */
    private String tradingTitle;

    /**
     * 交易中的商品内容
     */
    private String tradingContent;
    
    /**
     * 商品封面图片
     */
    private String tradingImgpath;

    /**
     * 交易中的商品价格
     */
    private Double tradingPrice;

    /**
     * 交易学校
     */
    private String tradingTradeSchool;

    /**
     * 交易方式
     */
    private String tradingTradeWay;

    /**
     * 手续费
     */
    private Double tradingPayMoney;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 浏览次数
     */
    private Integer tradingBrowseTime;

    public Integer getTradingId() {
        return tradingId;
    }

    public void setTradingId(Integer tradingId) {
        this.tradingId = tradingId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getTradingTitle() {
        return tradingTitle;
    }

    public void setTradingTitle(String tradingTitle) {
        this.tradingTitle = tradingTitle == null ? null : tradingTitle.trim();
    }

    public String getTradingContent() {
        return tradingContent;
    }

    public void setTradingContent(String tradingContent) {
        this.tradingContent = tradingContent == null ? null : tradingContent.trim();
    }
    
    public String getTradingImgpath() {
		return tradingImgpath;
	}

	public void setTradingImgpath(String tradingImgpath) {
		this.tradingImgpath = tradingImgpath;
	}

	public Integer getOneMenuId() {
		return oneMenuId;
	}

	public void setOneMenuId(Integer oneMenuId) {
		this.oneMenuId = oneMenuId;
	}

	public Integer getTwoMenuId() {
		return twoMenuId;
	}

	public void setTwoMenuId(Integer twoMenuId) {
		this.twoMenuId = twoMenuId;
	}

	public Integer getThreeMenuId() {
		return threeMenuId;
	}

	public void setThreeMenuId(Integer threeMenuId) {
		this.threeMenuId = threeMenuId;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public Double getTradingPrice() {
        return tradingPrice;
    }

    public void setTradingPrice(Double tradingPrice) {
        this.tradingPrice = tradingPrice;
    }

    public String getTradingTradeSchool() {
        return tradingTradeSchool;
    }

    public void setTradingTradeSchool(String tradingTradeSchool) {
        this.tradingTradeSchool = tradingTradeSchool == null ? null : tradingTradeSchool.trim();
    }

    public String getTradingTradeWay() {
        return tradingTradeWay;
    }

    public void setTradingTradeWay(String tradingTradeWay) {
        this.tradingTradeWay = tradingTradeWay == null ? null : tradingTradeWay.trim();
    }

    public Double getTradingPayMoney() {
        return tradingPayMoney;
    }

    public void setTradingPayMoney(Double tradingPayMoney) {
        this.tradingPayMoney = tradingPayMoney;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTradingBrowseTime() {
        return tradingBrowseTime;
    }

    public void setTradingBrowseTime(Integer tradingBrowseTime) {
        this.tradingBrowseTime = tradingBrowseTime;
    }
}